wayland: Ensure we have a drop-side GdkDragContext without pointer
authorCarlos Garnacho <carlosg@gnome.org>
Thu, 19 Nov 2015 23:07:36 +0000 (00:07 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Thu, 19 Nov 2015 23:11:33 +0000 (00:11 +0100)
commitc4f5fd111c5e6f8b9b92f029d357019430dafb6b
tree25d9f164f8973a17a03622611af7e83a859cc832
parent26f9d6b1c18f020a6360ea3f971295200c426b28
wayland: Ensure we have a drop-side GdkDragContext without pointer

This GdkDragContext should be created even if we don't have pointer
capabilities. Make it created on add_seat(), and only set the device
on wl_seat.capabilities, so it can be set to either master pointer.

https://bugzilla.gnome.org/show_bug.cgi?id=741066
gdk/wayland/gdkdevice-wayland.c
gdk/wayland/gdkdnd-wayland.c
gdk/wayland/gdkprivate-wayland.h